# -*- coding: utf-8 -*-
import scrapy


class SearchtestSpider(scrapy.Spider):
    name = 'searchtest'
    # allowed_domains = ['http://www.0722fc.com/index/index.php?']
    start_urls = ['https://esf.0722fc.com/202004/673006/1.html']

    def parse(self, response):
        hxs = response.xpath(response)
        it = hxs.xpath('//div[@class="house-info mb20"]//span[@class="fz22 eszj"]text()').extract_first()
        print('this is result :%d' % it)
